package com.thinkgem.jeesite.modules.shop.service.receipt;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.shop.dao.receipt.ShopOrderReceiptDao;
import com.thinkgem.jeesite.modules.shop.entity.receipt.ShopOrderReceipt;

/**
 * 购物发票Service
 * 
 * @author JiangYongKang
 * @version 2016-12-19
 */
@Service
@Transactional(readOnly = true)
public class ShopOrderReceiptService extends CrudService<ShopOrderReceiptDao, ShopOrderReceipt> {

    public ShopOrderReceipt get(String id) {
        return super.get(id);
    }

    public List<ShopOrderReceipt> findList(ShopOrderReceipt shopOrderReceipt) {
        return super.findList(shopOrderReceipt);
    }

    public Page<ShopOrderReceipt> findPage(Page<ShopOrderReceipt> page, ShopOrderReceipt shopOrderReceipt) {
        return super.findPage(page, shopOrderReceipt);
    }

    @Transactional(readOnly = false)
    public void save(ShopOrderReceipt shopOrderReceipt) {
        super.save(shopOrderReceipt);
    }

    @Transactional(readOnly = false)
    public void delete(ShopOrderReceipt shopOrderReceipt) {
        super.delete(shopOrderReceipt);
    }

}
